package com.example.walledemo

import android.support.v7.app.AppCompatActivity
import android.os.Bundle
import com.meituan.android.walle.WalleChannelReader
import kotlinx.android.synthetic.main.activity_main.*

class MainActivity : AppCompatActivity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_main)
        val channel = WalleChannelReader.getChannel(this.applicationContext)
        tv_show.text= "当前渠道：$channel"
    }
}
